//
//  ST_SuspendConfig.swift
//  btvideo
//
//  Created by Jason on 2021/7/28.
//  Copyright © 2021 JarvanZhang. All rights reserved.
//

import UIKit



struct ST_SuspendConfig {
    
    /// 默认小窗的位置
    let suspend_default_point:CGPoint
    
    /// 默认小窗的Size
    let suspend_default_size:CGSize
    
    /// 浮窗的圆角
    let suspend_window_radious:CGFloat
    
    /// 浮窗内容边距
    let window_content_edge:UIEdgeInsets
    
    let window_background_color:UIColor
    /// 可自定义
    static var `default` = ST_SuspendConfig(suspend_default_point: CGPoint(x: 0, y: 100), suspend_default_size: CGSize(width: 78, height: 80), suspend_window_radious: 14, window_content_edge: UIEdgeInsets(top: 8, left: 8, bottom: 8, right: 8), window_background_color: #colorLiteral(red: 0.9411764706, green: 0.9411764706, blue: 0.9411764706, alpha: 1))
    
    
    /// 默认的位置
    var window_default_frame:CGRect{
        return CGRect(origin: ST_SuspendConfig.default.suspend_default_point, size: ST_SuspendConfig.default.suspend_default_size)
    }
}
